package com.admin.service;

import com.admin.domain.AdminDO;
import com.admin.domain.DeclareLog;
import com.admin.vo.declareDetail.log.DeclareLogVO;

import java.util.List;

/**
 * 日志 service
 *
 * @author yangzhongliang
 * @date 2022/05/16
 */
public interface DeclareLogService {


    void insertLog(DeclareLog declareLog);

    /**
     * 保存日志
     * @param adminDO
     * @param declareId
     * @param type
     * @param content
     * @param remark
     * @return
     */
    void save(AdminDO adminDO, Integer declareId, String type, String content, String remark);


    /**
     * 日志信息
     * @param declareId
     * @return
     */
    List<DeclareLogVO> findByDeclareId(Integer declareId);


    int deleteByDeclareId(Integer declareId);



}
